package com.chennan.calculate.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 
 * @author chennan
 *
 */
@RestController
public class CalculateController {
	
	@RequestMapping("/index")
	public String getIndex() {
		return Math.random()*10+1+"";
	}
	
}
